package utils

import (
	"fmt"

	"github.com/go-ini/ini"
)

var Config *ini.File

func init() {
	var err error
	Config, err = ini.Load("./conf/config.ini")
	if err != nil {
		fmt.Printf("Fail to read config file: %v", err)
		panic(err)
	}
}
